#det_image>img{
    width: 100%;
    height: 100%;
}

#det_image{
    display: inline-block;
    height: 200px;
    width: 260px;
    margin: 10px;
}

#qteStock{
	color: red;
}

#det_productname{
    display: inline-block;
    vertical-align: top;
    margin-left: 100px;
    font-size: 30px;
}

#det_price{
    display: inline-block;
    font-size: 30px;
    margin-top: -100px;
    margin-left: -80px;
}

#det_qte_region{
    display: inline-block;
    width: 100px;
    vertical-align: top;
    margin-left: 30px;
}

#det_qte_region>*{
    display: block;
    font-size: 20px;
    text-align: center;
}

#det_qte_block{
    display: inline-block;
    height: 100px;
    width: 100px;
}

#det_qte_block>*{
    display: block;
    width: 100%;
}

#det_qte_block>input{
    text-align: center;
    height: 30%;
}

#det_qte_block>div{
    background-color: #bdbdbd;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    height: 35%;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#det_qte_block>div:hover{
    background-color: #a1a0a0;
    box-shadow: 1px 1px 10px #444; 
}

#det_qte_block>div:active{
    background-color: #737373;
}

#det_addtocart{
    display: inline-block;
    background-color: #00c534;
    vertical-align: top;
    margin-left: 50px;
    margin-top: 50px;
    border-color: black;
    border-style: solid;
    border-width: thin;
    color: white;
    padding: 15px;
    font-weight: bold;
}

#det_addtocart:hover{
    cursor: pointer;
    box-shadow: 1px 1px 10px #444; 
}

/* Style pour les ecrans jusqu'à 1000px de largeur */
@media all and (max-width: 1000px) {
    #det_addtocart {
        margin-left: 40%;
        margin-bottom: 20px;
    }
}

/* Style pour les ecrans jusqu'à 700px de largeur */
@media all and (max-width: 700px) {
    #det_addtocart {
        margin-left: 160px;
    }

    #det_price {
        margin-top: 50px;
    }
}

/* Style pour les ecrans jusqu'à 480px de largeur */
@media all and (max-width: 480px) {
    
    #det_image{
        height: 150px;
        width: 150px;
        margin: 10px;
        vertical-align: top;
    }

    #det_productname {
        position: relative;
        margin-top: 20px;
        display: inline-block;
        margin-left: 40px;
        margin-right: 30px;
    }

    #det_price {
        position: relative;
        display: inline-block;
        margin-left: 0px;
        margin-top: 20px;
    }

    #det_addtocart {
        margin-left: 25%;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    #det_qte_region{
        display: block;
        margin-top: 20px;
    }
}